//这是学习继承所创建的
//狗类
public class Dog extends Animal {
    void Bark(){
        System.out.println(name + "汪汪汪");
    }

}